package com.ueboot.weishop.service.order;

import com.ueboot.core.service.BaseService;
import com.ueboot.weishop.entity.order.OrderInvoiceEntity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * Created by zl  on 2017-11-05 14:45:14.
 *
 * @author zl
 * @since 2.0 by autocode
 */
public interface OrderInvoiceService extends BaseService<OrderInvoiceEntity> {

    /**
     * 根据订单号查询订单信息
     * @param orderNo 订单号
     * @return
     */
    OrderInvoiceEntity findByOrderOrderNo(String orderNo);

    OrderInvoiceEntity save(OrderInvoiceEntity s);

    OrderInvoiceEntity get(Long id);

    Page<OrderInvoiceEntity> findByReq(Pageable pageable,OrderInvoiceEntity params,String orderNo,String vin);
}
